package com.bkgy.modular.alarm.entity;

import lombok.Data;

import java.util.List;

/**
 * 修改中间件实体类
 */
@Data
public class HMIDataUpdate {
    private String action;
    private String operator;
    private String terminal;
    private UpdateBody body;

    @Data
    public static class UpdateBody {
        public List<AlarmPop> alarm_pop;

        @Data
        public static class AlarmPop {
            public Integer warningGrade;//报警等级
            public String deviceCode;//设备代码
            public String warningContent;//报警内容
            public String warningSuggestion;//报警建议
        }
    }
}
